package com.lou.springboot.service;

import com.lou.springboot.entity.AdminUser;
import com.lou.springboot.entity.AdminUser1;

/**
 * Created by Guaguaerhao on 2020/7/9 23:25
 */
public interface AdminUser1Service {
    AdminUser1 login(String userName, String password);

    AdminUser1 getUserDetailById(Integer loginUserId);

    boolean updatePassword(Integer loginUserId,String originalPassword, String newPassword);

    boolean updateName(Integer loginUserId, String loginUserName, String nickName);
}
